﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;

namespace NestedParticleFilter
{
    public class Logger
    {
        private LogLevel level;
        public Logger(LogLevel l )
        {
            this.level = l;
        }
        public void PrintMessage(LogLevel l , String message)
        {
            if (level== l || level == LogLevel.Verbose)
                Debug.WriteLine(message);
        }
    }

    public enum LogLevel
    {
        Error,
        Warnning,
        Verbose,
        Informative

    }
}
